package com.jiaai.cloud.system.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2017-08-26
 */
@TableName("t_robot_allot")
public class TRobotAllot extends Model<TRobotAllot> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	/**
	 * 状态
	 */
	private Integer status;
    /**
     * 房间初始人数
     */
	private Integer num;
    /**
     * 房间人数不少于
     */
	private Integer minimum;
    /**
     * 房间人数不大于
     */
	private Integer maxmun;
    /**
     * 每添加机器人数
     */
	private Integer addRobot;

	/**
	 * 创建时间
	 */
	@JSONField(format = "YYYY-MM-dd")
	private Date creatTime;

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Integer getMinimum() {
		return minimum;
	}

	public void setMinimum(Integer minimum) {
		this.minimum = minimum;
	}

	public Integer getMaxmun() {
		return maxmun;
	}

	public void setMaxmun(Integer maxmun) {
		this.maxmun = maxmun;
	}

	public Integer getAddRobot() {
		return addRobot;
	}

	public void setAddRobot(Integer addRobot) {
		this.addRobot = addRobot;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
